package com.yhb.controller.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class IncomeSummaryVo {
    @Builder.Default
    private BigDecimal total = BigDecimal.ZERO;

    @Builder.Default
    private List<IncomeYearlyItemVo> perYear = new ArrayList<>();
}
